package cn.mesmile.design.proxy;

/**
 * @author zb
 * @version 1.0
 * @date 2020/11/21 11:30
 * @description
 */
public class DigitalSellProxy implements DigitalSell {

    private DigitalSell digitalSell = new DigitalSellReal();

    @Override
    public void sell() {
        digitalSell.sell();
        makeAddress();
        makeAD();
    }

    private void makeAddress() {
        System.out.println(">>>>>>>>>>>> 选一个流量高的地址");
    }

    public void makeAD() {
        System.out.println(">>>>>>>> 投放广告");
    }

}
